{include file="public/header" /}
<body>
<div class="x-body">
    <form action="{:url('save')}" class="layui-form" id="form">
        {foreach name="field" item="form"}
            {switch form.format}

            {case value="input"}
            {include file="form/items/input" type='disabled' /}
            {/case}

            {case value="select"}
            {include file="form/items/select" type='disabled' /}
            {/case}

            {default /}

            {/switch}
        {/foreach}
    </form>
</div>
</body>
{include file="public/footer" /}
</html>